//
//  QGCommonHeadView.h
//  qeegooChat
//
//  Created by heew on 16/1/7.
//  Copyright © 2016年 com.autozi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    GJGCCommonHeadViewTypeNone,//未定义
    GJGCCommonHeadViewTypePGGroup,//群
    GJGCCommonHeadViewTypeContact,//联系人
    GJGCCommonHeadViewTypePostContact,//帖子联系人
} GJGCCommonHeadViewType;


@interface QGCommonHeadView : UIButton

@property (nonatomic,strong)NSString *userId;

- (void)setHeadUrl:(NSString *)url;

- (void)setHeadUrl:(NSString *)url headViewType:(GJGCCommonHeadViewType)headViewType;

- (void)setHeadImage:(UIImage *)image;

- (void)setHiddenImageView:(BOOL)hidden;

@end
